const mongoose = require('mongoose')

//定义骨架
const timetableSchema = mongoose.Schema({
    year:String,
    day1: Array,
    day2: Array,
    day3: Array,
    day4: Array,
    day5: Array
})

//定义模型
const timetableModel = mongoose.model('timetables', timetableSchema)
module.exports = timetableModel